home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / gem_stri.swf / scripts / __Packages / mx / remoting / PendingCall.as < prev    next >
Encoding:
Text File  |  2011-01-06  |  6.5 KB  |  191 lines

  1. var ┬º\x01┬º = 905;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 905)
  5.    {
  6.       set("\x01",eval("\x01") - 146);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") == 969)
  12.       {
  13.          set("\x01",eval("\x01") - 360);
  14.          break;
  15.       }
  16.       if(eval("\x01") == 571)
  17.       {
  18.          set("\x01",eval("\x01") + 31);
  19.          break;
  20.       }
  21.       if(eval("\x01") == 31)
  22.       {
  23.          set("\x01",eval("\x01") + 540);
  24.          if(┬º┬ºpop())
  25.          {
  26.             set("\x01",eval("\x01") + 31);
  27.          }
  28.       }
  29.       else if(eval("\x01") == 441)
  30.       {
  31.          set("\x01",eval("\x01") - 410);
  32.          ┬º┬ºpush(true);
  33.       }
  34.       else if(eval("\x01") == 146)
  35.       {
  36.          set("\x01",eval("\x01") + 823);
  37.          if(┬º┬ºpop())
  38.          {
  39.             set("\x01",eval("\x01") - 360);
  40.          }
  41.       }
  42.       else if(eval("\x01") == 609)
  43.       {
  44.          set("\x01",eval("\x01") + 302);
  45.          ┬º┬ºpush(true);
  46.       }
  47.       else
  48.       {
  49.          if(eval("\x01") == 122)
  50.          {
  51.             set("\x01",eval("\x01") + 319);
  52.             break;
  53.          }
  54.          if(eval("\x01") == 602)
  55.          {
  56.             set("\x01",eval("\x01") - 103);
  57.             if(!_global.mx)
  58.             {
  59.                _global.mx = new Object();
  60.             }
  61.             ┬º┬ºpop();
  62.             if(!_global.mx.remoting)
  63.             {
  64.                _global.mx.remoting = new Object();
  65.             }
  66.             ┬º┬ºpop();
  67.             if(!_global.mx.remoting.PendingCall)
  68.             {
  69.                mx.remoting.PendingCall.prototype = new Object().__get__responder = function()
  70.                {
  71.                   return this.__responder;
  72.                };
  73.                mx.remoting.PendingCall.prototype = new Object().__set__responder = function(res)
  74.                {
  75.                   this.__responder = res;
  76.                   return this.responder;
  77.                };
  78.                mx.remoting.PendingCall.prototype = new Object().onResult = function(result)
  79.                {
  80.                   var _loc1_ = result;
  81.                   var _loc2_ = this;
  82.                   _loc1_.serviceName = typeof _loc1_.serviceName != "function" ? _loc1_.serviceName : _loc1_.servicename;
  83.                   if(_loc1_ != null)
  84.                   {
  85.                      if(_loc1_ instanceof mx.remoting.NetServiceProxy)
  86.                      {
  87.                         var serv = new mx.remoting.Service(null,null,_loc1_.serviceName,_loc2_.__service.connection,_loc2_.__service.responder);
  88.                         _loc1_ = serv;
  89.                      }
  90.                      else if(_loc1_ instanceof mx.remoting.RecordSet)
  91.                      {
  92.                         var _loc3_ = new mx.remoting.NetServiceProxy(_loc2_.__service.connection);
  93.                         _loc1_._setParentService(_loc3_);
  94.                         _loc1_.logger = _loc2_.__service.log;
  95.                      }
  96.                   }
  97.                   if(_loc2_.__responder != null)
  98.                   {
  99.                      _loc2_.__responder.onResult(new mx.rpc.ResultEvent(_loc1_));
  100.                   }
  101.                   if(_loc2_.__service.log != null)
  102.                   {
  103.                      _loc2_.__service.log.logInfo(_loc2_.__service.name + "." + _loc2_.__methodName + "() returned " + mx.data.binding.ObjectDumper.toString(_loc1_));
  104.                   }
  105.                };
  106.                mx.remoting.PendingCall.prototype = new Object().onStatus = function(status)
  107.                {
  108.                   var _loc1_ = this;
  109.                   var _loc2_ = status;
  110.                   if(_loc1_.__responder != null)
  111.                   {
  112.                      _loc1_.__responder.onFault(new mx.rpc.FaultEvent(new mx.rpc.Fault(_loc2_.code,_loc2_.description,_loc2_.details,_loc2_.type)));
  113.                   }
  114.                   if(_loc1_.__service.log != null)
  115.                   {
  116.                      _loc1_.__service.log.logDebug("Service invocation failed.");
  117.                      _loc1_.__service.log.logDebug(_loc1_.__service.name + "." + _loc1_.__methodName + "() returned " + mx.data.binding.ObjectDumper.toString(_loc2_));
  118.                   }
  119.                };
  120.                mx.remoting.PendingCall.prototype = new Object().__get__methodName = function()
  121.                {
  122.                   return this.__methodName;
  123.                };
  124.                mx.remoting.PendingCall = function(srv, methodName)
  125.                {
  126.                   super();
  127.                   this.__service = srv;
  128.                   this.__methodName = methodName;
  129.                }.inited = mx.remoting.NetServiceProxy.registerNetServiceProxy();
  130.                ┬º┬ºpush((mx.remoting.PendingCall.prototype = new Object()).addProperty("methodName",mx.remoting.PendingCall.prototype = new Object().__get__methodName,function()
  131.                {
  132.                }
  133.                ));
  134.                ┬º┬ºpush((mx.remoting.PendingCall.prototype = new Object()).addProperty("responder",mx.remoting.PendingCall.prototype = new Object().__get__responder,mx.remoting.PendingCall.prototype = new Object().__set__responder));
  135.                ┬º┬ºpush(ASSetPropFlags(mx.remoting.PendingCall.prototype,null,1));
  136.             }
  137.             ┬º┬ºpop();
  138.             break;
  139.          }
  140.          if(eval("\x01") == 127)
  141.          {
  142.             set("\x01",eval("\x01") - 5);
  143.             if(┬º┬ºpop())
  144.             {
  145.                set("\x01",eval("\x01") + 319);
  146.             }
  147.          }
  148.          else if(eval("\x01") == 190)
  149.          {
  150.             set("\x01",eval("\x01") - 63);
  151.             ┬º┬ºpush(true);
  152.          }
  153.          else if(eval("\x01") == 759)
  154.          {
  155.             set("\x01",eval("\x01") + 225);
  156.             if(┬º┬ºpop())
  157.             {
  158.                set("\x01",eval("\x01") - 879);
  159.             }
  160.          }
  161.          else if(eval("\x01") == 105)
  162.          {
  163.             set("\x01",eval("\x01") + 41);
  164.             ┬º┬ºpush(true);
  165.          }
  166.          else
  167.          {
  168.             if(eval("\x01") == 984)
  169.             {
  170.                set("\x01",eval("\x01") - 879);
  171.                break;
  172.             }
  173.             if(eval("\x01") != 911)
  174.             {
  175.                if(eval("\x01") == 514)
  176.                {
  177.                   set("\x01",eval("\x01") - 324);
  178.                   ┬º┬ºpush(┬º┬ºpop() gt ┬º┬ºpop());
  179.                }
  180.                break;
  181.             }
  182.             set("\x01",eval("\x01") - 397);
  183.             if(┬º┬ºpop())
  184.             {
  185.                set("\x01",eval("\x01") - 324);
  186.             }
  187.          }
  188.       }
  189.    }
  190. }
  191.